import requests

r = requests.get(input("请输入网址(以https://开头)"))
print(r.status_code)
print(r.encoding)
r.encoding = 'gb-2312'
print(r.encoding)
print(r.text)
print('----------------------------------')
print(r.cookies)